home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
4_17.lha
/
4_17
/
4_17a1.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-08-08
|
679b
|
37 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
/ table.h
/
/ Declarations for a symbol table.
/ Based on code in section 3.1.3
ifndef TABLE_H
define TABLE_H
truct name
char* string;
name* next;
union
{
void* ptable;
double dtable;
long ltable;
};
short inuse;
;
/ look up a value
ame* look(char* p, int ins = 0);
/ a pseudonym to insert a value
nline name* insert(char* s)
return look(s, 1); }
endif /* TABLE_H */